package com.xframe.domain.e3sp.basedata;

import com.xframe.domain.BaseModel;
import com.xframe.xdal.core.annotation.*;
import com.xframe.xdal.core.constant.AutoFillType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description: 供应商类别
 * @ClassName: com.xframe.domain.e3sp.basedata.SupplierType
 * @Author: lmx
 * @CreateTime: 2024/01/04
 **/
@Data
@Accessors(chain=true)
@XTable(value = "p_t02_supplier_type", label = "供应商类别")
@XSelectItem(keyName = "supplierTypeId",codeName = "stName",textName = "stName")
public class SupplierType extends BaseModel {
    /**
     * 章号ID
     */
    @AutoFill(AutoFillType.Snowflake)
    @XColumn(name = "supplier_type_id", primaryKeyFlag = true,desc = "供应商类别ID")
    private Long supplierTypeId;

    /**
     * 类别代码
     */
    @XQueryCondition
    @XColumn(name = "st_code", uniqueFlag = true,desc = "类别代码",length = 50)
    @XGridTableRef
    private String stCode;


    /**
     * 中文名称
     */
    @XQueryCondition
    @XColumn(name = "st_name",desc = "类别名称",length = 200)
    @XGridTableRef
    private String stName;

}
